exports.success = (ctx, msg='sucees', data=[], code=200) => {
    ctx.body = {
        code,
        msg,
        data
    }
}

exports.error = (ctx, msg='error', data=[], code=400) => {
    ctx.body = {
        code,
        msg,
        data
    }
}